import request from '@/utils/request'

export function getMenuApi () {
  return request({
    url: '/menu/getMenu',
    method: 'get',
  })
}
export function addMenuApi (data) {
  return request({
    url: '/menu/addMenu',
    method: 'post',
    data: data
  })
}
export function delMenuApi (data) {
  return request({
    url: '/Menu/delMenu',
    method: 'post',
    data: data
  })
}
